public class J04while {
    public static void main(String[] args) {
//        while (true){
//            System.out.println("loop");
//        }
        //智能，
//        System.out.println("end");
        //计数器，统计hello输出次数
        int count = 0;
        while (count<10){
            //0 1 2 3.....9
            System.out.println("hello world-"+count);
            count++;
        }
        System.out.println("end");
    }
}
